<div class="isi">
    <?php
    $atr = array('id' => 'formID',
        'class' => 'formular');
    echo form_open_multipart('admin_produk/simpan_det', $atr);
    ?> 
    <input type="hidden"  name="id" id="id"  value="<?php echo $id ?>"/>
    <input type="hidden"  name="tmps_id" id="tmps_id"  value="<?php echo $tmps_id ?>"/>
    <table width="100%"  >
        <tr>
            <td width="15%" ><p> Size Produk </p> </td>
            <td><p> : </p> </td>
            <td> <input type="text" size="30" name="size_produk" id="size_produk"  value="<?php echo $size_produk ?>" /> </td>
        </tr>
        <tr>
            <td width="15%"><p> Stok Produk  </p> </td>
            <td><p> : </p> </td>
            <td> <input type="text" name="stok" id="stok" size="10" value="<?php echo $stok ?>" /> </td>
        </tr>            
        <tr>
            <td width="15%"><p> Berat  </p> </td>
            <td><p> : </p> </td>
            <td> <input type="text" name="berat" id="berat" size="10" value="<?php echo $berat ?>" /> </td>
        </tr>   
        <tr>
            <td width="15%"><p> Status </p> </td>
            <td><p> : </p> </td>
            <td> 
                <select style="width: 105px" name="status" id="status">
                    <?php
                    if ($status) {
                        echo "<option value='1' selected>Aktif</option>";
                        echo "<option value='0'>Pasif</option>";
                    } else {
                        echo "<option value='1'>Aktif</option>";
                        echo "<option value='0' selected>Pasif</option>";
                    }
                    ?>

                </select>
            </td>
        </tr> 
    </table>
    <?php echo anchor("admin_produk/view_det/" . $tmps_id, "Kembali", "class='button' style='color:white;'"); ?><input type="submit" value="         Simpan       " class="button" />
</form>
<div class="clear"></div>
</div>